<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage3.master" CodeFile="ReporteOrdenesDevolucion.aspx.cs" Inherits="ReporteOrdenesDevolucion" EnableEventValidation="false" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="C_ReporteOrdenDevolucion" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset>
    <legend>Reporte Orden de Devolucion</legend>
        <table>
            <tr>
                <td>
                    <asp:Label ID="lb_nroFactura" runat="server" CssClass="label" Text="Nro de Factura"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_nroFactura" runat="server" CssClass="textBoxLetras, textBox10"
                        MaxLength="10"></asp:TextBox></td>
                <td style="width: 42px">
                </td>
                <td>
                    <asp:Label ID="lb_proveedor" runat="server" CssClass="label" Text="Proveedor:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_empresa" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
                <td style="width: 42px">
                </td>
                <td>
                    <asp:Label ID="lb_motivo" runat="server" CssClass="label" Text="Motivo:"></asp:Label></td>
                <td>
                    <asp:TextBox ID="tb_motivo" runat="server" CssClass="textBoxLetras, textBox30" MaxLength="30"></asp:TextBox></td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 42px">
                </td>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 42px">
                </td>
                <td>
                </td>
                <td class="derecha">
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 42px">
                </td>
                <td>
                </td>
                <td>
                </td>
                <td style="width: 42px">
                </td>
                <td>
                </td>
                <td class="derecha">
                    <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                        OnClick="ib_reporte_Click" />
                    <asp:ImageButton ID="ib_cancelar" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                        OnClick="ib_cancelar_Click" /></td>
            </tr>
        </table>
        <cc1:FilteredTextBoxExtender ID="ftbe_nroFactura" runat="server" FilterType="numbers"
            TargetControlID="tb_nroFactura">
        </cc1:FilteredTextBoxExtender>
        <cc1:FilteredTextBoxExtender ID="ftbe_empresa" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
            TargetControlID="tb_empresa" ValidChars=" &-">
        </cc1:FilteredTextBoxExtender>
        <cc1:FilteredTextBoxExtender ID="ftbe_motivo" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
            TargetControlID="tb_motivo" ValidChars=" ">
        </cc1:FilteredTextBoxExtender>
    
    </fieldset>
    
    <fieldset>
    <legend>Reporte </legend>
        <table>
            <tr>
                <td>
                </td>
                <td style="width: 6px">
                    <CR:CrystalReportViewer ID="Reporte_Orden_Devolucion" runat="server" AutoDataBind="true"
                        DisplayGroupTree="False" ReportSourceID="CrystalReportSource_OrdenDevolucion" />
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 6px">
                    <cr:crystalreportsource id="CrystalReportSource_OrdenDevolucion" runat="server">
                        <Report FileName="Reportes\ReporteOrdenDevolucion.rpt">
                        </Report>
                    </cr:crystalreportsource>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                </td>
                <td style="width: 6px">
                </td>
                <td>
                </td>
            </tr>
        </table>
    
    </fieldset>
</asp:Content>
